module.exports = {
  productionSourceMap: true,
  publicPath: "./",
  devServer: {
    open: true,
    host: "0.0.0.0",
  },
  css: {
    loaderOptions: {
      css: {},
      postcss: {
        plugins: [
          require("postcss-px2rem")({
            // 以设计稿750为例， 750 / 10 = 75
            remUnit: 75,
          }),
        ],
      },
    },
  },
};
